home *** CD-ROM | disk | FTP | other *** search
- Path: gail.ripco.com!mambuhl
- From: mambuhl@ripco.com (Martin Ambuhl)
- Newsgroups: comp.lang.c
- Subject: Re: Memory models
- Date: 7 Mar 1996 15:18:26 GMT
- Organization: Ripco Communications, Inc.
- Message-ID: <4hmuo2$oju@gail.ripco.com>
- NNTP-Posting-Host: foley.ripco.com
-
- vakimo@cc.Helsinki.FI (Petri Vakimo) in
- <4hf5s4$e71@oravannahka.Helsinki.FI> writes:
-
- [Warning - platform-specific info follows, if you can call M$dog a
- platform]
-
- >I have TC++ 3.0 and so far I have been using SMALL memory model. Now I
- >need more memory for variables etc. so I tried to use LARGE model.
- >Surprise, it doesn't exist!
-
- What is "it"? TC++ 3.0 certainly does support all of the M$dog
- tiny/small/medium/compact/large/huge models. It is likely that you did
- only a partial installation before. Reinstall the compiler and this
- time tell the installer that you want all the memory models. You need
- different startup code and libraries for the different models.
-
- >Then I tried to do it by myself. As you propably know, I didn't succeed.
-
- What is this "it"? What did you try to do -- write your own compiler,
- startup modules and libraries?
-
- >So I would be very happy if someone could tell me what I exactly have to
- >do? Help me, please.
-
- See above. Reading your documentation would be a good place to start.
- Try reading p.14 of your User's Guide ("Using INSTALL")
-
- For the various models, make sure you have C0x.OBJ, MATHx.LIB, and
- Cx.LIB, where x is s, c, m, l, or h. For tiny models you must also have
- C0T.LIB (it uses MATHS.LIB and CS.LIB). See pp. 334-337 in your User's
- Guide. Reading your documentation should always be the _first_ thing
- you do when you have a problem.
-
- --
- * Martin Ambuhl net: mambuhl@ripco.com
- * Chicago, IL (USA)
-